<?php

class CommonEnum {
    // 前端资源版本
    const VER_CONFIG_ID = 1;

    // 网站配置信息
    const SITE_CONFIG_ID = 2;

    // 2898友链链接配置
    const FRIEND_CONFIG_ID = 3;

    const SIMILAR_INDEX_CONFIG_ID = 4;
    const SIMILAR_LIMIT_CONFIG_ID = 5;
    const ICON_INDEX_CONFIG_ID = 6;
    const ICON_LIMIT_CONFIG_ID = 7;
    const SITEMAP_CONFIG_ID = 8;
    const SITE_INFO_INDEX_CONFIG_ID = 9;
    const SITE_INFO_LIMIT_CONFIG_ID = 10;

    // 缓存key列表
    const MEMCACHE_KEYS = [
        'friend',
        'urls_rec_list',
        'config_' . self::VER_CONFIG_ID,
        'config_' . self::SITE_CONFIG_ID,
        'config_' . self::FRIEND_CONFIG_ID,
    ];
}
